package string;

public class StringCharAt {
    public static void main(String[] args) {
        /*
         * charAt
         */
        String str = "ABCDE12345好";
        char ch = str.charAt(10);
        System.out.println(ch);
        //超过范围会出现异常
        //ch = str.charAt(100);
    }
}
